<?php


namespace App\Entity;
use DateTime;
use Exception;
use Doctrine\ORM\Mapping as ORM;

/**
 * @package App\Entity
 * @ORM\Entity
 * @ORM\Table(name="manager")
 * @ORM\HasLifecycleCallbacks
 */
class Manager
{
    /**
     * @var int
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     * @ORM\Column(type="integer")
     */
    private $id;
    /**
     * @var string 用户昵称
     * @ORM\Column(name="user_name", type="string",nullable=true, length=100, options={"comment"="用户昵称"})
     */
    private $userName;
    /**
     * @var string 密码
     * @ORM\Column(name="pwd", type="string",nullable=true, length=100, options={"comment"="密码"})
     */
    private $pwd;
    /**
     * @var string 电子邮件
     * @ORM\Column(name="email", type="string",nullable=true, length=100, options={"comment"="电子邮件"})
     */
    private $email;

    /**
     * @return int
     */
    public function getId(): int
    {
        return $this->id;
    }
    /**
     * @return string
     */
    public function getUserName(): string
    {
        return $this->userName;
    }

    /**
     * @param string $userName
     */
    public function setUserName(string $userName): void
    {
        $this->userName = $userName;
    }

    /**
     * @return string
     */
    public function getPwd(): string
    {
        return $this->pwd;
    }

    /**
     * @param string $pwd
     */
    public function setPwd(string $pwd): void
    {
        $this->pwd = $pwd;
    }

    /**
     * @return string
     */
    public function getEmail(): string
    {
        return $this->email;
    }

    /**
     * @param string $email
     */
    public function setEmail(string $email): void
    {
        $this->email = $email;
    }



}
